package com.tulele.vtool.model.logEntity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

public class ArticleLookDetailLog implements Serializable {

    private static final long serialVersionUID = 1902975847704449539L;

    private Integer id;

    private Integer articleId;

    private Integer userId;

    private String gzhCode;

    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    private Date lookTime;

    private Integer resourceType;

    private String lookDateStr;

    private Integer lookHour;

    /**
     * 关联用户查看记录id
     */
    private Integer lookArticleLogId;

    /**
     * 用户离开文章页面时间
     */
    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    private Date lookEndTime;

    /**
     * 用户查看文章时间（单位：秒）
     */
    private Integer spentTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getGzhCode() {
        return gzhCode;
    }

    public void setGzhCode(String gzhCode) {
        this.gzhCode = gzhCode;
    }

    public Date getLookTime() {
        return lookTime;
    }

    public void setLookTime(Date lookTime) {
        this.lookTime = lookTime;
    }

    public Integer getResourceType() {
        return resourceType;
    }

    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }

    public String getLookDateStr() {
        return lookDateStr;
    }

    public void setLookDateStr(String lookDateStr) {
        this.lookDateStr = lookDateStr;
    }

    public Integer getLookHour() {
        return lookHour;
    }

    public void setLookHour(Integer lookHour) {
        this.lookHour = lookHour;
    }

    public Integer getLookArticleLogId() {
        return lookArticleLogId;
    }

    public void setLookArticleLogId(Integer lookArticleLogId) {
        this.lookArticleLogId = lookArticleLogId;
    }

    public Date getLookEndTime() {
        return lookEndTime;
    }

    public void setLookEndTime(Date lookEndTime) {
        this.lookEndTime = lookEndTime;
    }

    public Integer getSpentTime() {
        return spentTime;
    }

    public void setSpentTime(Integer spentTime) {
        this.spentTime = spentTime;
    }
}
